using System;
using System.Threading;
using ShevaEngine.Core;

namespace Demo
{
#if WINDOWS || XBOX
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            ShevaEngine.Core.ShevaEngine.Instance.EngineInitializated += new EventHandler(Instance_EngineInitializated);

            ShevaEngine.Core.ShevaEngine.Instance.Run();
        }

        /// <summary>
        /// Engine initialized.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        static void Instance_EngineInitializated(object sender, EventArgs e)
        {
            ShevaGameModule.Instance.PushGamePart(new BecherIslands());
        }
    }
#endif
}

